#ifndef __TIMER_DOMAIN_H_INCLUDED__
#define __TIMER_DOMAIN_H_INCLUDED__

class forward_session;

#ifdef __cplusplus
extern "C" {
#endif

class timer_domain{

public:

	enum {
		RECYCLE_TIME = 10000
	};

	timer_domain();

	~timer_domain();

	void retick();

	long get_cur_tick();

	bool expire();

	timer_domain* prev;

	timer_domain* next;

	forward_session* session_ptr;

	long tick;
};

#ifdef __cplusplus
}
#endif

#endif // __TIMER_DOMAIN_H_INCLUDED__
